<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head th:replace="include :: header('DEV开发者社区')"></head>
<body>
<div th:replace="include :: top"></div>

<div class="fly-home fly-panel" style="background-image: url();">
  <img th:src="${#strings.isEmpty(bbsUser.avatar)}?'/fly/images/avatar/default.png':${bbsUser.avatar}" th:alt="${bbsUser.nickname}">
  <i class="iconfont icon-renzheng" th:if="${#strings.length(bbsUser.authContent)>0}" title="Fly社区认证"></i>
  <h1>
    [[${bbsUser.nickname}]]
    <i th:if="${bbsUser.userInfo.sex=='0'}" class="iconfont icon-nan"></i>
    <i th:if="${bbsUser.userInfo.sex=='1'}" class="iconfont icon-nv"></i> 
    <span th:if="${bbsUser.admin}" style="color:#c00;">（管理员）</span>
    <span th:if="${bbsUser.status==1}">（该号已被封）</span>
<!--     <i class="layui-badge fly-badge-vip">VIP3</i> -->
    <!--
    <span style="color:#5FB878;">（社区之光）</span>
    -->
  </h1>

  <p style="padding: 10px 0; color: #5FB878;" th:if="${#strings.length(bbsUser.authContent)>0}" th:text="'认证信息：'+${bbsUser.authContent}"></p>

  <p class="fly-home-info">
    <i class="iconfont icon-kiss" title="飞吻"></i><span style="color: #FF7200;" th:text="${bbsUser.kiss}+' 飞吻'"></span>
    <i class="iconfont icon-shijian"></i><span th:text="${#dates.format(bbsUser.createTime, 'yyyy-MM-dd')+' 加入'}"></span>
    <i class="iconfont icon-chengshi" th:if="${#strings.length(bbsUser.userInfo.city)>0}"></i><span th:text=${bbsUser.userInfo.city}></span>
  </p>

  <p class="fly-home-sign" th:text="${#strings.length(bbsUser.userInfo.sign)>0}?${bbsUser.userInfo.sign}:'（这个人很懒，什么也没留下）'"></p>

<!--   <div class="fly-sns" data-user="">
    <a href="javascript:;" class="layui-btn layui-btn-primary fly-imActive" data-type="addFriend">加为好友</a>
    <a href="javascript:;" class="layui-btn layui-btn-normal fly-imActive" data-type="chat">发起会话</a>
  </div> -->

</div>

<div class="layui-container">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md6 fly-home-jie">
      <div class="fly-panel">
        <h3 class="fly-panel-title" th:text="${bbsUser.nickname+' 最近的帖子'}"></h3>
        <ul class="jie-row" id="recently-jie" th:attr="data-uid=${bbsUser.userId}">
          	<div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;">
          		<i style="font-size:14px;">没有发表任何帖子</i>
          	</div>
        </ul>
      </div>
    </div>
    
    <div class="layui-col-md6 fly-home-da">
      <div class="fly-panel">
        <h3 class="fly-panel-title" th:text="${bbsUser.nickname+' 最近的回答'}"></h3>
        <ul class="home-jieda" id="recently-jieda" th:attr="data-uid=${bbsUser.userId}">
        
         <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></div> 
        </ul>
      </div>
    </div>
  </div>
</div>

<th:block th:include="include :: footer('user')"/>

</body>
</html>